package com.hskn.hss.module.tlcar.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hskn.hss.entity.TreeCarEntity;
import com.hskn.hss.entity.TreeEntity;
import com.hskn.hss.module.tlcar.entity.TICarResult;
import com.hskn.hss.module.tlcar.entity.TICarVo;
import com.hskn.hss.module.tlcar.entity.TlCar;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hskn
 * @since 2021-05-17
 */
public interface TlCarMapper extends BaseMapper<TlCar> {

    public List getSelectList();

    public Page<TlCar> listTlCar(Page<TlCar> page, Map map);

     List<TreeEntity> getCarTree(Map map);

    public List<TreeCarEntity> getCarTree2();

    public List<TICarVo> getCarType(Map map);

    public List<TICarVo> getDriveWay(Map map);

    public List<TICarVo> getCarManufacturers(Map map);

    public List<TICarVo> getJobCategories(Map map);

    List<TICarResult> getNumByCarType(Set<String> carIds);

    TlCar selectByIdWithCarType(String carId);

    List<TlCar> selectInIdCarIds(List<String> carIds);

    List<TreeEntity> getCarTree();


}
